package com.study.liuxy.springboot3.constants.retcode;

public enum RetCodeEnum implements IRetCode{
    SUCCESS("00000000","交易成功")
    ;
    final String retCode;

    final String retMsg;

    RetCodeEnum(String retCode, String retMsg) {
        this.retCode = retCode;
        this.retMsg = retMsg;
    }
    @Override
    public String getRetCode() {
        return retCode;
    }

    @Override
    public String getRetMsg() {
        return retMsg;
    }
}
